﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _2021_5_13.BookManagement
{
    class Users
    {
        string Department { get; set; }
        string Account { get; set; }
        string Password { get; set; }
        string IsOP { get; set; }

        public Users(string depName, string account, string password, string isOP)
        {
            this.Department = depName;
            this.Account = account;
            this.Password = password;
            this.IsOP = isOP;
        }

        public Users() { }

        public void Print() 
        {
            Console.WriteLine("该用户的部门为:{0}, 账号为:{1}, 密码为:{2}, 身份为:{3}",this.Department,this.Account,this.Password,this.IsOP);
        }


    }
}
